package org.example.DesignPatterns.Bridge;

/**
 * @description:
 * @author: farprt
 * @create: 2022-09-18 17:58
 **/
public class BlackPen extends Pen{

    public BlackPen(Ruler ruler) {
        super(ruler);
    }

    @Override
    public void draw() {
        System.out.println("Black");
        ruler.regularize();
    }
}